public class test2 {
    public static int sum(int a, int b) {
        int ret = a + b;
        return ret;
    }
    public static double sum(double a,double b, double c) {
        double ret2 = a + b + c;
        return ret2;
    }

    public static void main(String[] args) {
        System.out.println(sum(1, 3));
        System.out.println(sum(1.2, 2.3, 2.2));
    }
}
